#pragma once

// CPropButton
class CEffectPropCtrl;

class CPropButton : public CButton
{
	DECLARE_DYNAMIC(CPropButton)
private:
	CEffectPropCtrl* m_pParent;
public:
	CPropButton( LPCTSTR szCaption, CWnd* pParent, CRect& rt, WORD ID, CEffectPropCtrl* pEffect )
	{
		m_pParent = pEffect;
		Create( szCaption, WS_CHILD, rt, pParent, ID );
		ShowWindow( SW_SHOW );
	}

protected:
	DECLARE_MESSAGE_MAP()
	afx_msg void OnBnClicked();
};


